import request from '@/utils/request'

// 查询列表
export function packing_list(query) {
  return request({
    url: '/wms/finish_product/list',
    method: 'get',
    params: query
  })
}

// 新增
export function packing_add(data) {
  return request({
    url: '/wms/finish_product/add',
    method: 'post',
    data: data
  })
}

// 修改
export function packing_edit(data) {
  return request({
    url: '/wms/finish_product/edit',
    method: 'put',
    data: data
  })
}


// 删除
export function packing_delete(id) {
  return request({
    url: '/wms/finish_product/' + id,
    method: 'delete'
  })
}

